#include <gtk/gtk.h>
#include <UI.h>
#include <config.h>
void* ui_main(void* data) 
{
	char* tmp = "vine";
	char* tmp1[] = {tmp};
	char** argv = tmp1;	
	int argc = 1;
#ifdef HAVE_G_THREAD_INIT
        g_thread_init(NULL);
#endif
	gdk_threads_init();
	gtk_init(&argc,&argv);
        InitTray();
	InitIMWindow();
	gdk_threads_enter();
	gtk_main();
	gdk_threads_leave();
        return NULL;

}
